package org.eenie.appseed.ui.logcat


import org.eenie.appseed.databinding.ActivityLogcatBinding
import org.eenie.core.base.viewbinding.BaseBindingActivity
import org.eenie.core.ext.onClick


class LogcatActivity : BaseBindingActivity<ActivityLogcatBinding>() {

    override fun initUI() {
        this.binding.apply {
            btnStart.onClick {
                LogcatCollector.start()
            }

            btnStop.onClick {
                LogcatCollector.stop()
            }


            btnSend.onClick {
                println("this is a log form self")
            }
        }

    }

    override fun providerBinding() = ActivityLogcatBinding.inflate(layoutInflater)


}